package com.example.adminui.service;

import com.example.adminui.entity.Sales;
import com.example.adminui.entity.SalesPerformance;

import java.util.List;

public interface SalesService {
    List<Sales> getAllSales();
    Sales getSalesById(Long id);
    void createSales(Sales sales);
    void updateSales(Sales sales);
    void deleteSales(Long id);

    List<SalesPerformance> getSalesPerformanceByMonth(String month);

    SalesPerformance getSalesPerformanceById(Long id);

    void createSalesPerformance(SalesPerformance salesPerformance);

    void updateSalesPerformance(SalesPerformance salesPerformance);

    void deleteSalesPerformance(Long id);
}